
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '加盟店督导',
    enableValidate: true
})

@Injectable()
export class DetailFormComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'ddzbh_e36c8da4_4md5',
        name: "{{ddzbh_e36c8da4_4md5}}",
        binding: 'ddzbh',
        updateOn: 'blur',
        defaultI18nValue: '督导者编号',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    ddzbh: FormControl;

    @NgFormControl({
        id: 'ddzmc_0df52935_hxk2',
        name: "{{ddzmc_0df52935_hxk2}}",
        binding: 'ddzmc',
        updateOn: 'blur',
        defaultI18nValue: '督导者名称',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    ddzmc: FormControl;

    @NgFormControl({
        id: 'bz_c4c7cddb_au4y',
        name: "{{bz_c4c7cddb_au4y}}",
        binding: 'bz',
        updateOn: 'blur',
        defaultI18nValue: '备注',
        validRules: [
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    bz: FormControl;

}